<template>
  <div id="app">
    <header class="app-header">
      <h1>阿里云 DingRTC 多媒体控制</h1>
      <p>语音、视频和屏幕共享解决方案</p>
    </header>
    
    <main class="app-main">
      <MediaControls />
    </main>
    
    <footer class="app-footer">
      <p>© 2023 阿里云 DingRTC | 版本 1.0.0</p>
    </footer>
  </div>
</template>

<script>
import MediaControls from './components/MediaControls.vue';

export default {
  components: {
    MediaControls
  }
};
</script>

<style>
:root {
  --primary-color: #3498db;
  --secondary-color: #2ecc71;
  --danger-color: #e74c3c;
  --dark-bg: #1a1e2c;
  --light-text: #a0aec0;
  --border-color: #3a4152;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f5f6fa;
  color: #333;
  line-height: 1.6;
}

#app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.app-header {
  background-color: var(--primary-color);
  color: white;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.app-header h1 {
  margin-bottom: 8px;
  font-size: 1.8rem;
}

.app-header p {
  opacity: 0.9;
  font-size: 1rem;
}

.app-main {
  flex: 1;
  padding: 30px 20px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.app-footer {
  background-color: #2c3e50;
  color: white;
  text-align: center;
  padding: 15px;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .app-header h1 {
    font-size: 1.5rem;
  }
  
  .app-main {
    padding: 20px 15px;
  }
}
</style>